#pragma once

#include "GameState.h"

class GameOptionsState : public FSMCartridge
{
protected:
	BeanieCore* m_core;

	int sxVolume, maVolume, mVolume;
	GameTexture m_object;
	GameTexture m_sndbar[30];
	GameButton  m_savebtn; 
	GameButton  m_cancelbtn;
	GameButton  m_arrowbtnMaL,m_arrowbtnMaR,m_arrowbtnML,m_arrowbtnMR,m_arrowbtnSXL,m_arrowbtnSXR;

public:
	GameOptionsState(){}
	GameOptionsState(BeanieCore* a_core, bool a_renew = true);

	void updateSndBars();
	void initSndBars();
	void drawSndBars();
	void init();
	void release();
	void input();
	void update();
	void draw();
	void preLoop();
	void postLoop();
};
